﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WebApp
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            // switches between the 2 menues if you are logedin or not
            NavigationMenu_NotLogedin.Visible = !Request.IsAuthenticated;
            NavigationMenu_Logedin.Visible = Request.IsAuthenticated;
            
        }
    }
}
